﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Pro260Website.HtmlHelpers
{
    public static class CssColorHelper
    {
        public static string GetColor(this HtmlHelper html, HttpCookie color)
        {
            if (color == null)
                return "defaultBlue";

            return color.Value;
        }

        public static string GetTextBoxColor(this HtmlHelper html, HttpCookie color)
        {
            if (color == null)
                return "textdefaultBlue";

            return "text" + color.Value;
        }
    }
}